package com.hzncc.scaffold.entity.Other;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;
import java.util.List;

import com.hzncc.scaffold.entity.Vo.QuestionVo;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 试卷表
 * </p>
 *
 * @author DrunkBear
 * @since 2022-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Paper implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 标题
     */
    private String title;

    /**
     * 单选题数量
     */
    @TableField("singleNum")
    private Integer singleNum;

    /**
     * 多选题数量
     */
    @TableField("multiNum")
    private Integer multiNum;

    /**
     * 判断题数量
     */
    @TableField("judgeNum")
    private Integer judgeNum;

    /**
     * 计算题数量
     */
    @TableField("operationNum")
    private Integer operationNum;

    /**
     * 理论题数量
     */
    @TableField("theoryQuestion")
    private String theoryQuestion;

    /**
     * 操作题数量
     */
    @TableField("operationQuestion")
    private String operationQuestion;

    /**
     * 总分数
     */
    @TableField("totalScore")
    private Integer totalScore;

    /**
     * 及格分数
     */
    @TableField("passScore")
    private Integer passScore;

    /**
     * 类型
     */
    private Integer type;

    /**
     * 单选题比例
     */
    @TableField("perSingle")
    private Integer perSingle;

    /**
     * 多选题比例
     */
    @TableField("perMulti")
    private Integer perMulti;

    /**
     * 判断题比例
     */
    @TableField("perJudge")
    private Integer perJudge;

    /**
     * 操作题比例
     */
    @TableField("perOperation")
    private Integer perOperation;

    /**
     * 证书模板
     */
    @TableField("cretTemplate")
    private String cretTemplate;

    /**
     * 考试时间
     */
    @TableField("examTime")
    private Integer examTime;

    /**
     * 监考员编号
     */
    @TableField("operatorId")
    private Integer operatorId;

    /**
     * 创建时间
     */
    @TableField("createTime")
    private String createTime;

    /**
     * 逻辑删除
     */
    @TableField("isDelete")
    private Integer isDelete;

    /**
     * 被编排
     */
    @TableField("formedBy")
    private Boolean formedBy;

    /**
     * 题目列表
     */
    @TableField(exist = false)
    private String question;



    @TableField(exist = false)
    private String iv;


    @TableField(exist = false)
    private String key;

    @TableField(exist = false)
    private String taskTitle;

    @TableField(exist = false)
    private Integer theoryScore;

    @TableField(exist = false)
    private String timeUse;

    @TableField(exist = false)
    private String userAnswer;
}
